package com.ttj.domain.oracle.gen;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class BasServiceCriteria {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Integer mysqlOffset;

    protected Integer mysqlLength;

    public BasServiceCriteria() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * @param mysqlOffset 
	 *            指定返回记录行的偏移量<br>
	 *            mysqlOffset= 5,mysqlLength=10;  // 检索记录行 6-15
     */
    public void setMysqlOffset(Integer mysqlOffset) {
        this.mysqlOffset=mysqlOffset;
    }

    /**
     * @param mysqlLength 
	 *            指定返回记录行的最大数目<br>
	 *            mysqlOffset= 5,mysqlLength=10;  // 检索记录行 6-15
     */
    public Integer getMysqlOffset() {
        return mysqlOffset;
    }

    /**
     * @param mysqlOffset 
	 *            指定返回记录行的偏移量<br>
	 *            mysqlOffset= 5,mysqlLength=10;  // 检索记录行 6-15
     */
    public void setMysqlLength(Integer mysqlLength) {
        this.mysqlLength=mysqlLength;
    }

    /**
     * @param mysqlLength 
	 *            指定返回记录行的最大数目<br>
	 *            mysqlOffset= 5,mysqlLength=10;  // 检索记录行 6-15
     */
    public Integer getMysqlLength() {
        return mysqlLength;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andDisidIsNull() {
            addCriterion("DISID is null");
            return (Criteria) this;
        }

        public Criteria andDisidIsNotNull() {
            addCriterion("DISID is not null");
            return (Criteria) this;
        }

        public Criteria andDisidEqualTo(Integer value) {
            addCriterion("DISID =", value, "disid");
            return (Criteria) this;
        }

        public Criteria andDisidNotEqualTo(Integer value) {
            addCriterion("DISID <>", value, "disid");
            return (Criteria) this;
        }

        public Criteria andDisidGreaterThan(Integer value) {
            addCriterion("DISID >", value, "disid");
            return (Criteria) this;
        }

        public Criteria andDisidGreaterThanOrEqualTo(Integer value) {
            addCriterion("DISID >=", value, "disid");
            return (Criteria) this;
        }

        public Criteria andDisidLessThan(Integer value) {
            addCriterion("DISID <", value, "disid");
            return (Criteria) this;
        }

        public Criteria andDisidLessThanOrEqualTo(Integer value) {
            addCriterion("DISID <=", value, "disid");
            return (Criteria) this;
        }

        public Criteria andDisidIn(List<Integer> values) {
            addCriterion("DISID in", values, "disid");
            return (Criteria) this;
        }

        public Criteria andDisidNotIn(List<Integer> values) {
            addCriterion("DISID not in", values, "disid");
            return (Criteria) this;
        }

        public Criteria andDisidBetween(Integer value1, Integer value2) {
            addCriterion("DISID between", value1, value2, "disid");
            return (Criteria) this;
        }

        public Criteria andDisidNotBetween(Integer value1, Integer value2) {
            addCriterion("DISID not between", value1, value2, "disid");
            return (Criteria) this;
        }

        public Criteria andOrderTypeIsNull() {
            addCriterion("ORDER_TYPE is null");
            return (Criteria) this;
        }

        public Criteria andOrderTypeIsNotNull() {
            addCriterion("ORDER_TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andOrderTypeEqualTo(Integer value) {
            addCriterion("ORDER_TYPE =", value, "orderType");
            return (Criteria) this;
        }

        public Criteria andOrderTypeNotEqualTo(Integer value) {
            addCriterion("ORDER_TYPE <>", value, "orderType");
            return (Criteria) this;
        }

        public Criteria andOrderTypeGreaterThan(Integer value) {
            addCriterion("ORDER_TYPE >", value, "orderType");
            return (Criteria) this;
        }

        public Criteria andOrderTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("ORDER_TYPE >=", value, "orderType");
            return (Criteria) this;
        }

        public Criteria andOrderTypeLessThan(Integer value) {
            addCriterion("ORDER_TYPE <", value, "orderType");
            return (Criteria) this;
        }

        public Criteria andOrderTypeLessThanOrEqualTo(Integer value) {
            addCriterion("ORDER_TYPE <=", value, "orderType");
            return (Criteria) this;
        }

        public Criteria andOrderTypeIn(List<Integer> values) {
            addCriterion("ORDER_TYPE in", values, "orderType");
            return (Criteria) this;
        }

        public Criteria andOrderTypeNotIn(List<Integer> values) {
            addCriterion("ORDER_TYPE not in", values, "orderType");
            return (Criteria) this;
        }

        public Criteria andOrderTypeBetween(Integer value1, Integer value2) {
            addCriterion("ORDER_TYPE between", value1, value2, "orderType");
            return (Criteria) this;
        }

        public Criteria andOrderTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("ORDER_TYPE not between", value1, value2, "orderType");
            return (Criteria) this;
        }

        public Criteria andOrderIdIsNull() {
            addCriterion("ORDER_ID is null");
            return (Criteria) this;
        }

        public Criteria andOrderIdIsNotNull() {
            addCriterion("ORDER_ID is not null");
            return (Criteria) this;
        }

        public Criteria andOrderIdEqualTo(Integer value) {
            addCriterion("ORDER_ID =", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotEqualTo(Integer value) {
            addCriterion("ORDER_ID <>", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThan(Integer value) {
            addCriterion("ORDER_ID >", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("ORDER_ID >=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThan(Integer value) {
            addCriterion("ORDER_ID <", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThanOrEqualTo(Integer value) {
            addCriterion("ORDER_ID <=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdIn(List<Integer> values) {
            addCriterion("ORDER_ID in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotIn(List<Integer> values) {
            addCriterion("ORDER_ID not in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdBetween(Integer value1, Integer value2) {
            addCriterion("ORDER_ID between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotBetween(Integer value1, Integer value2) {
            addCriterion("ORDER_ID not between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andSTypeIsNull() {
            addCriterion("S_TYPE is null");
            return (Criteria) this;
        }

        public Criteria andSTypeIsNotNull() {
            addCriterion("S_TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andSTypeEqualTo(Integer value) {
            addCriterion("S_TYPE =", value, "sType");
            return (Criteria) this;
        }

        public Criteria andSTypeNotEqualTo(Integer value) {
            addCriterion("S_TYPE <>", value, "sType");
            return (Criteria) this;
        }

        public Criteria andSTypeGreaterThan(Integer value) {
            addCriterion("S_TYPE >", value, "sType");
            return (Criteria) this;
        }

        public Criteria andSTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("S_TYPE >=", value, "sType");
            return (Criteria) this;
        }

        public Criteria andSTypeLessThan(Integer value) {
            addCriterion("S_TYPE <", value, "sType");
            return (Criteria) this;
        }

        public Criteria andSTypeLessThanOrEqualTo(Integer value) {
            addCriterion("S_TYPE <=", value, "sType");
            return (Criteria) this;
        }

        public Criteria andSTypeIn(List<Integer> values) {
            addCriterion("S_TYPE in", values, "sType");
            return (Criteria) this;
        }

        public Criteria andSTypeNotIn(List<Integer> values) {
            addCriterion("S_TYPE not in", values, "sType");
            return (Criteria) this;
        }

        public Criteria andSTypeBetween(Integer value1, Integer value2) {
            addCriterion("S_TYPE between", value1, value2, "sType");
            return (Criteria) this;
        }

        public Criteria andSTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("S_TYPE not between", value1, value2, "sType");
            return (Criteria) this;
        }

        public Criteria andSidIsNull() {
            addCriterion("SID is null");
            return (Criteria) this;
        }

        public Criteria andSidIsNotNull() {
            addCriterion("SID is not null");
            return (Criteria) this;
        }

        public Criteria andSidEqualTo(Integer value) {
            addCriterion("SID =", value, "sid");
            return (Criteria) this;
        }

        public Criteria andSidNotEqualTo(Integer value) {
            addCriterion("SID <>", value, "sid");
            return (Criteria) this;
        }

        public Criteria andSidGreaterThan(Integer value) {
            addCriterion("SID >", value, "sid");
            return (Criteria) this;
        }

        public Criteria andSidGreaterThanOrEqualTo(Integer value) {
            addCriterion("SID >=", value, "sid");
            return (Criteria) this;
        }

        public Criteria andSidLessThan(Integer value) {
            addCriterion("SID <", value, "sid");
            return (Criteria) this;
        }

        public Criteria andSidLessThanOrEqualTo(Integer value) {
            addCriterion("SID <=", value, "sid");
            return (Criteria) this;
        }

        public Criteria andSidIn(List<Integer> values) {
            addCriterion("SID in", values, "sid");
            return (Criteria) this;
        }

        public Criteria andSidNotIn(List<Integer> values) {
            addCriterion("SID not in", values, "sid");
            return (Criteria) this;
        }

        public Criteria andSidBetween(Integer value1, Integer value2) {
            addCriterion("SID between", value1, value2, "sid");
            return (Criteria) this;
        }

        public Criteria andSidNotBetween(Integer value1, Integer value2) {
            addCriterion("SID not between", value1, value2, "sid");
            return (Criteria) this;
        }

        public Criteria andExpTimeIsNull() {
            addCriterion("EXP_TIME is null");
            return (Criteria) this;
        }

        public Criteria andExpTimeIsNotNull() {
            addCriterion("EXP_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andExpTimeEqualTo(Date value) {
            addCriterion("EXP_TIME =", value, "expTime");
            return (Criteria) this;
        }

        public Criteria andExpTimeNotEqualTo(Date value) {
            addCriterion("EXP_TIME <>", value, "expTime");
            return (Criteria) this;
        }

        public Criteria andExpTimeGreaterThan(Date value) {
            addCriterion("EXP_TIME >", value, "expTime");
            return (Criteria) this;
        }

        public Criteria andExpTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("EXP_TIME >=", value, "expTime");
            return (Criteria) this;
        }

        public Criteria andExpTimeLessThan(Date value) {
            addCriterion("EXP_TIME <", value, "expTime");
            return (Criteria) this;
        }

        public Criteria andExpTimeLessThanOrEqualTo(Date value) {
            addCriterion("EXP_TIME <=", value, "expTime");
            return (Criteria) this;
        }

        public Criteria andExpTimeIn(List<Date> values) {
            addCriterion("EXP_TIME in", values, "expTime");
            return (Criteria) this;
        }

        public Criteria andExpTimeNotIn(List<Date> values) {
            addCriterion("EXP_TIME not in", values, "expTime");
            return (Criteria) this;
        }

        public Criteria andExpTimeBetween(Date value1, Date value2) {
            addCriterion("EXP_TIME between", value1, value2, "expTime");
            return (Criteria) this;
        }

        public Criteria andExpTimeNotBetween(Date value1, Date value2) {
            addCriterion("EXP_TIME not between", value1, value2, "expTime");
            return (Criteria) this;
        }

        public Criteria andELevelIsNull() {
            addCriterion("E_LEVEL is null");
            return (Criteria) this;
        }

        public Criteria andELevelIsNotNull() {
            addCriterion("E_LEVEL is not null");
            return (Criteria) this;
        }

        public Criteria andELevelEqualTo(Integer value) {
            addCriterion("E_LEVEL =", value, "eLevel");
            return (Criteria) this;
        }

        public Criteria andELevelNotEqualTo(Integer value) {
            addCriterion("E_LEVEL <>", value, "eLevel");
            return (Criteria) this;
        }

        public Criteria andELevelGreaterThan(Integer value) {
            addCriterion("E_LEVEL >", value, "eLevel");
            return (Criteria) this;
        }

        public Criteria andELevelGreaterThanOrEqualTo(Integer value) {
            addCriterion("E_LEVEL >=", value, "eLevel");
            return (Criteria) this;
        }

        public Criteria andELevelLessThan(Integer value) {
            addCriterion("E_LEVEL <", value, "eLevel");
            return (Criteria) this;
        }

        public Criteria andELevelLessThanOrEqualTo(Integer value) {
            addCriterion("E_LEVEL <=", value, "eLevel");
            return (Criteria) this;
        }

        public Criteria andELevelIn(List<Integer> values) {
            addCriterion("E_LEVEL in", values, "eLevel");
            return (Criteria) this;
        }

        public Criteria andELevelNotIn(List<Integer> values) {
            addCriterion("E_LEVEL not in", values, "eLevel");
            return (Criteria) this;
        }

        public Criteria andELevelBetween(Integer value1, Integer value2) {
            addCriterion("E_LEVEL between", value1, value2, "eLevel");
            return (Criteria) this;
        }

        public Criteria andELevelNotBetween(Integer value1, Integer value2) {
            addCriterion("E_LEVEL not between", value1, value2, "eLevel");
            return (Criteria) this;
        }

        public Criteria andRStatusIsNull() {
            addCriterion("R_STATUS is null");
            return (Criteria) this;
        }

        public Criteria andRStatusIsNotNull() {
            addCriterion("R_STATUS is not null");
            return (Criteria) this;
        }

        public Criteria andRStatusEqualTo(Integer value) {
            addCriterion("R_STATUS =", value, "rStatus");
            return (Criteria) this;
        }

        public Criteria andRStatusNotEqualTo(Integer value) {
            addCriterion("R_STATUS <>", value, "rStatus");
            return (Criteria) this;
        }

        public Criteria andRStatusGreaterThan(Integer value) {
            addCriterion("R_STATUS >", value, "rStatus");
            return (Criteria) this;
        }

        public Criteria andRStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("R_STATUS >=", value, "rStatus");
            return (Criteria) this;
        }

        public Criteria andRStatusLessThan(Integer value) {
            addCriterion("R_STATUS <", value, "rStatus");
            return (Criteria) this;
        }

        public Criteria andRStatusLessThanOrEqualTo(Integer value) {
            addCriterion("R_STATUS <=", value, "rStatus");
            return (Criteria) this;
        }

        public Criteria andRStatusIn(List<Integer> values) {
            addCriterion("R_STATUS in", values, "rStatus");
            return (Criteria) this;
        }

        public Criteria andRStatusNotIn(List<Integer> values) {
            addCriterion("R_STATUS not in", values, "rStatus");
            return (Criteria) this;
        }

        public Criteria andRStatusBetween(Integer value1, Integer value2) {
            addCriterion("R_STATUS between", value1, value2, "rStatus");
            return (Criteria) this;
        }

        public Criteria andRStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("R_STATUS not between", value1, value2, "rStatus");
            return (Criteria) this;
        }

        public Criteria andIndateIsNull() {
            addCriterion("INDATE is null");
            return (Criteria) this;
        }

        public Criteria andIndateIsNotNull() {
            addCriterion("INDATE is not null");
            return (Criteria) this;
        }

        public Criteria andIndateEqualTo(Date value) {
            addCriterion("INDATE =", value, "indate");
            return (Criteria) this;
        }

        public Criteria andIndateNotEqualTo(Date value) {
            addCriterion("INDATE <>", value, "indate");
            return (Criteria) this;
        }

        public Criteria andIndateGreaterThan(Date value) {
            addCriterion("INDATE >", value, "indate");
            return (Criteria) this;
        }

        public Criteria andIndateGreaterThanOrEqualTo(Date value) {
            addCriterion("INDATE >=", value, "indate");
            return (Criteria) this;
        }

        public Criteria andIndateLessThan(Date value) {
            addCriterion("INDATE <", value, "indate");
            return (Criteria) this;
        }

        public Criteria andIndateLessThanOrEqualTo(Date value) {
            addCriterion("INDATE <=", value, "indate");
            return (Criteria) this;
        }

        public Criteria andIndateIn(List<Date> values) {
            addCriterion("INDATE in", values, "indate");
            return (Criteria) this;
        }

        public Criteria andIndateNotIn(List<Date> values) {
            addCriterion("INDATE not in", values, "indate");
            return (Criteria) this;
        }

        public Criteria andIndateBetween(Date value1, Date value2) {
            addCriterion("INDATE between", value1, value2, "indate");
            return (Criteria) this;
        }

        public Criteria andIndateNotBetween(Date value1, Date value2) {
            addCriterion("INDATE not between", value1, value2, "indate");
            return (Criteria) this;
        }

        public Criteria andRDateIsNull() {
            addCriterion("R_DATE is null");
            return (Criteria) this;
        }

        public Criteria andRDateIsNotNull() {
            addCriterion("R_DATE is not null");
            return (Criteria) this;
        }

        public Criteria andRDateEqualTo(Date value) {
            addCriterion("R_DATE =", value, "rDate");
            return (Criteria) this;
        }

        public Criteria andRDateNotEqualTo(Date value) {
            addCriterion("R_DATE <>", value, "rDate");
            return (Criteria) this;
        }

        public Criteria andRDateGreaterThan(Date value) {
            addCriterion("R_DATE >", value, "rDate");
            return (Criteria) this;
        }

        public Criteria andRDateGreaterThanOrEqualTo(Date value) {
            addCriterion("R_DATE >=", value, "rDate");
            return (Criteria) this;
        }

        public Criteria andRDateLessThan(Date value) {
            addCriterion("R_DATE <", value, "rDate");
            return (Criteria) this;
        }

        public Criteria andRDateLessThanOrEqualTo(Date value) {
            addCriterion("R_DATE <=", value, "rDate");
            return (Criteria) this;
        }

        public Criteria andRDateIn(List<Date> values) {
            addCriterion("R_DATE in", values, "rDate");
            return (Criteria) this;
        }

        public Criteria andRDateNotIn(List<Date> values) {
            addCriterion("R_DATE not in", values, "rDate");
            return (Criteria) this;
        }

        public Criteria andRDateBetween(Date value1, Date value2) {
            addCriterion("R_DATE between", value1, value2, "rDate");
            return (Criteria) this;
        }

        public Criteria andRDateNotBetween(Date value1, Date value2) {
            addCriterion("R_DATE not between", value1, value2, "rDate");
            return (Criteria) this;
        }

        public Criteria andCnameIsNull() {
            addCriterion("CNAME is null");
            return (Criteria) this;
        }

        public Criteria andCnameIsNotNull() {
            addCriterion("CNAME is not null");
            return (Criteria) this;
        }

        public Criteria andCnameEqualTo(String value) {
            addCriterion("CNAME =", value, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameNotEqualTo(String value) {
            addCriterion("CNAME <>", value, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameGreaterThan(String value) {
            addCriterion("CNAME >", value, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameGreaterThanOrEqualTo(String value) {
            addCriterion("CNAME >=", value, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameLessThan(String value) {
            addCriterion("CNAME <", value, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameLessThanOrEqualTo(String value) {
            addCriterion("CNAME <=", value, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameLike(String value) {
            addCriterion("CNAME like", value, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameNotLike(String value) {
            addCriterion("CNAME not like", value, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameIn(List<String> values) {
            addCriterion("CNAME in", values, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameNotIn(List<String> values) {
            addCriterion("CNAME not in", values, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameBetween(String value1, String value2) {
            addCriterion("CNAME between", value1, value2, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameNotBetween(String value1, String value2) {
            addCriterion("CNAME not between", value1, value2, "cname");
            return (Criteria) this;
        }

        public Criteria andCpersonIsNull() {
            addCriterion("CPERSON is null");
            return (Criteria) this;
        }

        public Criteria andCpersonIsNotNull() {
            addCriterion("CPERSON is not null");
            return (Criteria) this;
        }

        public Criteria andCpersonEqualTo(String value) {
            addCriterion("CPERSON =", value, "cperson");
            return (Criteria) this;
        }

        public Criteria andCpersonNotEqualTo(String value) {
            addCriterion("CPERSON <>", value, "cperson");
            return (Criteria) this;
        }

        public Criteria andCpersonGreaterThan(String value) {
            addCriterion("CPERSON >", value, "cperson");
            return (Criteria) this;
        }

        public Criteria andCpersonGreaterThanOrEqualTo(String value) {
            addCriterion("CPERSON >=", value, "cperson");
            return (Criteria) this;
        }

        public Criteria andCpersonLessThan(String value) {
            addCriterion("CPERSON <", value, "cperson");
            return (Criteria) this;
        }

        public Criteria andCpersonLessThanOrEqualTo(String value) {
            addCriterion("CPERSON <=", value, "cperson");
            return (Criteria) this;
        }

        public Criteria andCpersonLike(String value) {
            addCriterion("CPERSON like", value, "cperson");
            return (Criteria) this;
        }

        public Criteria andCpersonNotLike(String value) {
            addCriterion("CPERSON not like", value, "cperson");
            return (Criteria) this;
        }

        public Criteria andCpersonIn(List<String> values) {
            addCriterion("CPERSON in", values, "cperson");
            return (Criteria) this;
        }

        public Criteria andCpersonNotIn(List<String> values) {
            addCriterion("CPERSON not in", values, "cperson");
            return (Criteria) this;
        }

        public Criteria andCpersonBetween(String value1, String value2) {
            addCriterion("CPERSON between", value1, value2, "cperson");
            return (Criteria) this;
        }

        public Criteria andCpersonNotBetween(String value1, String value2) {
            addCriterion("CPERSON not between", value1, value2, "cperson");
            return (Criteria) this;
        }

        public Criteria andCphoneIsNull() {
            addCriterion("CPHONE is null");
            return (Criteria) this;
        }

        public Criteria andCphoneIsNotNull() {
            addCriterion("CPHONE is not null");
            return (Criteria) this;
        }

        public Criteria andCphoneEqualTo(String value) {
            addCriterion("CPHONE =", value, "cphone");
            return (Criteria) this;
        }

        public Criteria andCphoneNotEqualTo(String value) {
            addCriterion("CPHONE <>", value, "cphone");
            return (Criteria) this;
        }

        public Criteria andCphoneGreaterThan(String value) {
            addCriterion("CPHONE >", value, "cphone");
            return (Criteria) this;
        }

        public Criteria andCphoneGreaterThanOrEqualTo(String value) {
            addCriterion("CPHONE >=", value, "cphone");
            return (Criteria) this;
        }

        public Criteria andCphoneLessThan(String value) {
            addCriterion("CPHONE <", value, "cphone");
            return (Criteria) this;
        }

        public Criteria andCphoneLessThanOrEqualTo(String value) {
            addCriterion("CPHONE <=", value, "cphone");
            return (Criteria) this;
        }

        public Criteria andCphoneLike(String value) {
            addCriterion("CPHONE like", value, "cphone");
            return (Criteria) this;
        }

        public Criteria andCphoneNotLike(String value) {
            addCriterion("CPHONE not like", value, "cphone");
            return (Criteria) this;
        }

        public Criteria andCphoneIn(List<String> values) {
            addCriterion("CPHONE in", values, "cphone");
            return (Criteria) this;
        }

        public Criteria andCphoneNotIn(List<String> values) {
            addCriterion("CPHONE not in", values, "cphone");
            return (Criteria) this;
        }

        public Criteria andCphoneBetween(String value1, String value2) {
            addCriterion("CPHONE between", value1, value2, "cphone");
            return (Criteria) this;
        }

        public Criteria andCphoneNotBetween(String value1, String value2) {
            addCriterion("CPHONE not between", value1, value2, "cphone");
            return (Criteria) this;
        }

        public Criteria andCaddrIsNull() {
            addCriterion("CADDR is null");
            return (Criteria) this;
        }

        public Criteria andCaddrIsNotNull() {
            addCriterion("CADDR is not null");
            return (Criteria) this;
        }

        public Criteria andCaddrEqualTo(String value) {
            addCriterion("CADDR =", value, "caddr");
            return (Criteria) this;
        }

        public Criteria andCaddrNotEqualTo(String value) {
            addCriterion("CADDR <>", value, "caddr");
            return (Criteria) this;
        }

        public Criteria andCaddrGreaterThan(String value) {
            addCriterion("CADDR >", value, "caddr");
            return (Criteria) this;
        }

        public Criteria andCaddrGreaterThanOrEqualTo(String value) {
            addCriterion("CADDR >=", value, "caddr");
            return (Criteria) this;
        }

        public Criteria andCaddrLessThan(String value) {
            addCriterion("CADDR <", value, "caddr");
            return (Criteria) this;
        }

        public Criteria andCaddrLessThanOrEqualTo(String value) {
            addCriterion("CADDR <=", value, "caddr");
            return (Criteria) this;
        }

        public Criteria andCaddrLike(String value) {
            addCriterion("CADDR like", value, "caddr");
            return (Criteria) this;
        }

        public Criteria andCaddrNotLike(String value) {
            addCriterion("CADDR not like", value, "caddr");
            return (Criteria) this;
        }

        public Criteria andCaddrIn(List<String> values) {
            addCriterion("CADDR in", values, "caddr");
            return (Criteria) this;
        }

        public Criteria andCaddrNotIn(List<String> values) {
            addCriterion("CADDR not in", values, "caddr");
            return (Criteria) this;
        }

        public Criteria andCaddrBetween(String value1, String value2) {
            addCriterion("CADDR between", value1, value2, "caddr");
            return (Criteria) this;
        }

        public Criteria andCaddrNotBetween(String value1, String value2) {
            addCriterion("CADDR not between", value1, value2, "caddr");
            return (Criteria) this;
        }

        public Criteria andRpersonIsNull() {
            addCriterion("RPERSON is null");
            return (Criteria) this;
        }

        public Criteria andRpersonIsNotNull() {
            addCriterion("RPERSON is not null");
            return (Criteria) this;
        }

        public Criteria andRpersonEqualTo(String value) {
            addCriterion("RPERSON =", value, "rperson");
            return (Criteria) this;
        }

        public Criteria andRpersonNotEqualTo(String value) {
            addCriterion("RPERSON <>", value, "rperson");
            return (Criteria) this;
        }

        public Criteria andRpersonGreaterThan(String value) {
            addCriterion("RPERSON >", value, "rperson");
            return (Criteria) this;
        }

        public Criteria andRpersonGreaterThanOrEqualTo(String value) {
            addCriterion("RPERSON >=", value, "rperson");
            return (Criteria) this;
        }

        public Criteria andRpersonLessThan(String value) {
            addCriterion("RPERSON <", value, "rperson");
            return (Criteria) this;
        }

        public Criteria andRpersonLessThanOrEqualTo(String value) {
            addCriterion("RPERSON <=", value, "rperson");
            return (Criteria) this;
        }

        public Criteria andRpersonLike(String value) {
            addCriterion("RPERSON like", value, "rperson");
            return (Criteria) this;
        }

        public Criteria andRpersonNotLike(String value) {
            addCriterion("RPERSON not like", value, "rperson");
            return (Criteria) this;
        }

        public Criteria andRpersonIn(List<String> values) {
            addCriterion("RPERSON in", values, "rperson");
            return (Criteria) this;
        }

        public Criteria andRpersonNotIn(List<String> values) {
            addCriterion("RPERSON not in", values, "rperson");
            return (Criteria) this;
        }

        public Criteria andRpersonBetween(String value1, String value2) {
            addCriterion("RPERSON between", value1, value2, "rperson");
            return (Criteria) this;
        }

        public Criteria andRpersonNotBetween(String value1, String value2) {
            addCriterion("RPERSON not between", value1, value2, "rperson");
            return (Criteria) this;
        }

        public Criteria andFStatusIsNull() {
            addCriterion("F_STATUS is null");
            return (Criteria) this;
        }

        public Criteria andFStatusIsNotNull() {
            addCriterion("F_STATUS is not null");
            return (Criteria) this;
        }

        public Criteria andFStatusEqualTo(Integer value) {
            addCriterion("F_STATUS =", value, "fStatus");
            return (Criteria) this;
        }

        public Criteria andFStatusNotEqualTo(Integer value) {
            addCriterion("F_STATUS <>", value, "fStatus");
            return (Criteria) this;
        }

        public Criteria andFStatusGreaterThan(Integer value) {
            addCriterion("F_STATUS >", value, "fStatus");
            return (Criteria) this;
        }

        public Criteria andFStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("F_STATUS >=", value, "fStatus");
            return (Criteria) this;
        }

        public Criteria andFStatusLessThan(Integer value) {
            addCriterion("F_STATUS <", value, "fStatus");
            return (Criteria) this;
        }

        public Criteria andFStatusLessThanOrEqualTo(Integer value) {
            addCriterion("F_STATUS <=", value, "fStatus");
            return (Criteria) this;
        }

        public Criteria andFStatusIn(List<Integer> values) {
            addCriterion("F_STATUS in", values, "fStatus");
            return (Criteria) this;
        }

        public Criteria andFStatusNotIn(List<Integer> values) {
            addCriterion("F_STATUS not in", values, "fStatus");
            return (Criteria) this;
        }

        public Criteria andFStatusBetween(Integer value1, Integer value2) {
            addCriterion("F_STATUS between", value1, value2, "fStatus");
            return (Criteria) this;
        }

        public Criteria andFStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("F_STATUS not between", value1, value2, "fStatus");
            return (Criteria) this;
        }

        public Criteria andModifTimeIsNull() {
            addCriterion("MODIF_TIME is null");
            return (Criteria) this;
        }

        public Criteria andModifTimeIsNotNull() {
            addCriterion("MODIF_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andModifTimeEqualTo(Date value) {
            addCriterion("MODIF_TIME =", value, "modifTime");
            return (Criteria) this;
        }

        public Criteria andModifTimeNotEqualTo(Date value) {
            addCriterion("MODIF_TIME <>", value, "modifTime");
            return (Criteria) this;
        }

        public Criteria andModifTimeGreaterThan(Date value) {
            addCriterion("MODIF_TIME >", value, "modifTime");
            return (Criteria) this;
        }

        public Criteria andModifTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("MODIF_TIME >=", value, "modifTime");
            return (Criteria) this;
        }

        public Criteria andModifTimeLessThan(Date value) {
            addCriterion("MODIF_TIME <", value, "modifTime");
            return (Criteria) this;
        }

        public Criteria andModifTimeLessThanOrEqualTo(Date value) {
            addCriterion("MODIF_TIME <=", value, "modifTime");
            return (Criteria) this;
        }

        public Criteria andModifTimeIn(List<Date> values) {
            addCriterion("MODIF_TIME in", values, "modifTime");
            return (Criteria) this;
        }

        public Criteria andModifTimeNotIn(List<Date> values) {
            addCriterion("MODIF_TIME not in", values, "modifTime");
            return (Criteria) this;
        }

        public Criteria andModifTimeBetween(Date value1, Date value2) {
            addCriterion("MODIF_TIME between", value1, value2, "modifTime");
            return (Criteria) this;
        }

        public Criteria andModifTimeNotBetween(Date value1, Date value2) {
            addCriterion("MODIF_TIME not between", value1, value2, "modifTime");
            return (Criteria) this;
        }

        public Criteria andPredictTimeIsNull() {
            addCriterion("PREDICT_TIME is null");
            return (Criteria) this;
        }

        public Criteria andPredictTimeIsNotNull() {
            addCriterion("PREDICT_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andPredictTimeEqualTo(Date value) {
            addCriterion("PREDICT_TIME =", value, "predictTime");
            return (Criteria) this;
        }

        public Criteria andPredictTimeNotEqualTo(Date value) {
            addCriterion("PREDICT_TIME <>", value, "predictTime");
            return (Criteria) this;
        }

        public Criteria andPredictTimeGreaterThan(Date value) {
            addCriterion("PREDICT_TIME >", value, "predictTime");
            return (Criteria) this;
        }

        public Criteria andPredictTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("PREDICT_TIME >=", value, "predictTime");
            return (Criteria) this;
        }

        public Criteria andPredictTimeLessThan(Date value) {
            addCriterion("PREDICT_TIME <", value, "predictTime");
            return (Criteria) this;
        }

        public Criteria andPredictTimeLessThanOrEqualTo(Date value) {
            addCriterion("PREDICT_TIME <=", value, "predictTime");
            return (Criteria) this;
        }

        public Criteria andPredictTimeIn(List<Date> values) {
            addCriterion("PREDICT_TIME in", values, "predictTime");
            return (Criteria) this;
        }

        public Criteria andPredictTimeNotIn(List<Date> values) {
            addCriterion("PREDICT_TIME not in", values, "predictTime");
            return (Criteria) this;
        }

        public Criteria andPredictTimeBetween(Date value1, Date value2) {
            addCriterion("PREDICT_TIME between", value1, value2, "predictTime");
            return (Criteria) this;
        }

        public Criteria andPredictTimeNotBetween(Date value1, Date value2) {
            addCriterion("PREDICT_TIME not between", value1, value2, "predictTime");
            return (Criteria) this;
        }

        public Criteria andProcessTimeIsNull() {
            addCriterion("PROCESS_TIME is null");
            return (Criteria) this;
        }

        public Criteria andProcessTimeIsNotNull() {
            addCriterion("PROCESS_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andProcessTimeEqualTo(Date value) {
            addCriterion("PROCESS_TIME =", value, "processTime");
            return (Criteria) this;
        }

        public Criteria andProcessTimeNotEqualTo(Date value) {
            addCriterion("PROCESS_TIME <>", value, "processTime");
            return (Criteria) this;
        }

        public Criteria andProcessTimeGreaterThan(Date value) {
            addCriterion("PROCESS_TIME >", value, "processTime");
            return (Criteria) this;
        }

        public Criteria andProcessTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("PROCESS_TIME >=", value, "processTime");
            return (Criteria) this;
        }

        public Criteria andProcessTimeLessThan(Date value) {
            addCriterion("PROCESS_TIME <", value, "processTime");
            return (Criteria) this;
        }

        public Criteria andProcessTimeLessThanOrEqualTo(Date value) {
            addCriterion("PROCESS_TIME <=", value, "processTime");
            return (Criteria) this;
        }

        public Criteria andProcessTimeIn(List<Date> values) {
            addCriterion("PROCESS_TIME in", values, "processTime");
            return (Criteria) this;
        }

        public Criteria andProcessTimeNotIn(List<Date> values) {
            addCriterion("PROCESS_TIME not in", values, "processTime");
            return (Criteria) this;
        }

        public Criteria andProcessTimeBetween(Date value1, Date value2) {
            addCriterion("PROCESS_TIME between", value1, value2, "processTime");
            return (Criteria) this;
        }

        public Criteria andProcessTimeNotBetween(Date value1, Date value2) {
            addCriterion("PROCESS_TIME not between", value1, value2, "processTime");
            return (Criteria) this;
        }

        public Criteria andRUserIsNull() {
            addCriterion("R_USER is null");
            return (Criteria) this;
        }

        public Criteria andRUserIsNotNull() {
            addCriterion("R_USER is not null");
            return (Criteria) this;
        }

        public Criteria andRUserEqualTo(String value) {
            addCriterion("R_USER =", value, "rUser");
            return (Criteria) this;
        }

        public Criteria andRUserNotEqualTo(String value) {
            addCriterion("R_USER <>", value, "rUser");
            return (Criteria) this;
        }

        public Criteria andRUserGreaterThan(String value) {
            addCriterion("R_USER >", value, "rUser");
            return (Criteria) this;
        }

        public Criteria andRUserGreaterThanOrEqualTo(String value) {
            addCriterion("R_USER >=", value, "rUser");
            return (Criteria) this;
        }

        public Criteria andRUserLessThan(String value) {
            addCriterion("R_USER <", value, "rUser");
            return (Criteria) this;
        }

        public Criteria andRUserLessThanOrEqualTo(String value) {
            addCriterion("R_USER <=", value, "rUser");
            return (Criteria) this;
        }

        public Criteria andRUserLike(String value) {
            addCriterion("R_USER like", value, "rUser");
            return (Criteria) this;
        }

        public Criteria andRUserNotLike(String value) {
            addCriterion("R_USER not like", value, "rUser");
            return (Criteria) this;
        }

        public Criteria andRUserIn(List<String> values) {
            addCriterion("R_USER in", values, "rUser");
            return (Criteria) this;
        }

        public Criteria andRUserNotIn(List<String> values) {
            addCriterion("R_USER not in", values, "rUser");
            return (Criteria) this;
        }

        public Criteria andRUserBetween(String value1, String value2) {
            addCriterion("R_USER between", value1, value2, "rUser");
            return (Criteria) this;
        }

        public Criteria andRUserNotBetween(String value1, String value2) {
            addCriterion("R_USER not between", value1, value2, "rUser");
            return (Criteria) this;
        }

        public Criteria andOStautsIsNull() {
            addCriterion("O_STAUTS is null");
            return (Criteria) this;
        }

        public Criteria andOStautsIsNotNull() {
            addCriterion("O_STAUTS is not null");
            return (Criteria) this;
        }

        public Criteria andOStautsEqualTo(Integer value) {
            addCriterion("O_STAUTS =", value, "oStauts");
            return (Criteria) this;
        }

        public Criteria andOStautsNotEqualTo(Integer value) {
            addCriterion("O_STAUTS <>", value, "oStauts");
            return (Criteria) this;
        }

        public Criteria andOStautsGreaterThan(Integer value) {
            addCriterion("O_STAUTS >", value, "oStauts");
            return (Criteria) this;
        }

        public Criteria andOStautsGreaterThanOrEqualTo(Integer value) {
            addCriterion("O_STAUTS >=", value, "oStauts");
            return (Criteria) this;
        }

        public Criteria andOStautsLessThan(Integer value) {
            addCriterion("O_STAUTS <", value, "oStauts");
            return (Criteria) this;
        }

        public Criteria andOStautsLessThanOrEqualTo(Integer value) {
            addCriterion("O_STAUTS <=", value, "oStauts");
            return (Criteria) this;
        }

        public Criteria andOStautsIn(List<Integer> values) {
            addCriterion("O_STAUTS in", values, "oStauts");
            return (Criteria) this;
        }

        public Criteria andOStautsNotIn(List<Integer> values) {
            addCriterion("O_STAUTS not in", values, "oStauts");
            return (Criteria) this;
        }

        public Criteria andOStautsBetween(Integer value1, Integer value2) {
            addCriterion("O_STAUTS between", value1, value2, "oStauts");
            return (Criteria) this;
        }

        public Criteria andOStautsNotBetween(Integer value1, Integer value2) {
            addCriterion("O_STAUTS not between", value1, value2, "oStauts");
            return (Criteria) this;
        }

        public Criteria andCidIsNull() {
            addCriterion("CID is null");
            return (Criteria) this;
        }

        public Criteria andCidIsNotNull() {
            addCriterion("CID is not null");
            return (Criteria) this;
        }

        public Criteria andCidEqualTo(Integer value) {
            addCriterion("CID =", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidNotEqualTo(Integer value) {
            addCriterion("CID <>", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidGreaterThan(Integer value) {
            addCriterion("CID >", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidGreaterThanOrEqualTo(Integer value) {
            addCriterion("CID >=", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidLessThan(Integer value) {
            addCriterion("CID <", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidLessThanOrEqualTo(Integer value) {
            addCriterion("CID <=", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidIn(List<Integer> values) {
            addCriterion("CID in", values, "cid");
            return (Criteria) this;
        }

        public Criteria andCidNotIn(List<Integer> values) {
            addCriterion("CID not in", values, "cid");
            return (Criteria) this;
        }

        public Criteria andCidBetween(Integer value1, Integer value2) {
            addCriterion("CID between", value1, value2, "cid");
            return (Criteria) this;
        }

        public Criteria andCidNotBetween(Integer value1, Integer value2) {
            addCriterion("CID not between", value1, value2, "cid");
            return (Criteria) this;
        }

        public Criteria andOrderContentIsNull() {
            addCriterion("ORDER_CONTENT is null");
            return (Criteria) this;
        }

        public Criteria andOrderContentIsNotNull() {
            addCriterion("ORDER_CONTENT is not null");
            return (Criteria) this;
        }

        public Criteria andOrderContentEqualTo(String value) {
            addCriterion("ORDER_CONTENT =", value, "orderContent");
            return (Criteria) this;
        }

        public Criteria andOrderContentNotEqualTo(String value) {
            addCriterion("ORDER_CONTENT <>", value, "orderContent");
            return (Criteria) this;
        }

        public Criteria andOrderContentGreaterThan(String value) {
            addCriterion("ORDER_CONTENT >", value, "orderContent");
            return (Criteria) this;
        }

        public Criteria andOrderContentGreaterThanOrEqualTo(String value) {
            addCriterion("ORDER_CONTENT >=", value, "orderContent");
            return (Criteria) this;
        }

        public Criteria andOrderContentLessThan(String value) {
            addCriterion("ORDER_CONTENT <", value, "orderContent");
            return (Criteria) this;
        }

        public Criteria andOrderContentLessThanOrEqualTo(String value) {
            addCriterion("ORDER_CONTENT <=", value, "orderContent");
            return (Criteria) this;
        }

        public Criteria andOrderContentLike(String value) {
            addCriterion("ORDER_CONTENT like", value, "orderContent");
            return (Criteria) this;
        }

        public Criteria andOrderContentNotLike(String value) {
            addCriterion("ORDER_CONTENT not like", value, "orderContent");
            return (Criteria) this;
        }

        public Criteria andOrderContentIn(List<String> values) {
            addCriterion("ORDER_CONTENT in", values, "orderContent");
            return (Criteria) this;
        }

        public Criteria andOrderContentNotIn(List<String> values) {
            addCriterion("ORDER_CONTENT not in", values, "orderContent");
            return (Criteria) this;
        }

        public Criteria andOrderContentBetween(String value1, String value2) {
            addCriterion("ORDER_CONTENT between", value1, value2, "orderContent");
            return (Criteria) this;
        }

        public Criteria andOrderContentNotBetween(String value1, String value2) {
            addCriterion("ORDER_CONTENT not between", value1, value2, "orderContent");
            return (Criteria) this;
        }

        public Criteria andCommentsIsNull() {
            addCriterion("COMMENTS is null");
            return (Criteria) this;
        }

        public Criteria andCommentsIsNotNull() {
            addCriterion("COMMENTS is not null");
            return (Criteria) this;
        }

        public Criteria andCommentsEqualTo(String value) {
            addCriterion("COMMENTS =", value, "comments");
            return (Criteria) this;
        }

        public Criteria andCommentsNotEqualTo(String value) {
            addCriterion("COMMENTS <>", value, "comments");
            return (Criteria) this;
        }

        public Criteria andCommentsGreaterThan(String value) {
            addCriterion("COMMENTS >", value, "comments");
            return (Criteria) this;
        }

        public Criteria andCommentsGreaterThanOrEqualTo(String value) {
            addCriterion("COMMENTS >=", value, "comments");
            return (Criteria) this;
        }

        public Criteria andCommentsLessThan(String value) {
            addCriterion("COMMENTS <", value, "comments");
            return (Criteria) this;
        }

        public Criteria andCommentsLessThanOrEqualTo(String value) {
            addCriterion("COMMENTS <=", value, "comments");
            return (Criteria) this;
        }

        public Criteria andCommentsLike(String value) {
            addCriterion("COMMENTS like", value, "comments");
            return (Criteria) this;
        }

        public Criteria andCommentsNotLike(String value) {
            addCriterion("COMMENTS not like", value, "comments");
            return (Criteria) this;
        }

        public Criteria andCommentsIn(List<String> values) {
            addCriterion("COMMENTS in", values, "comments");
            return (Criteria) this;
        }

        public Criteria andCommentsNotIn(List<String> values) {
            addCriterion("COMMENTS not in", values, "comments");
            return (Criteria) this;
        }

        public Criteria andCommentsBetween(String value1, String value2) {
            addCriterion("COMMENTS between", value1, value2, "comments");
            return (Criteria) this;
        }

        public Criteria andCommentsNotBetween(String value1, String value2) {
            addCriterion("COMMENTS not between", value1, value2, "comments");
            return (Criteria) this;
        }

        public Criteria andCommentsPushIsNull() {
            addCriterion("COMMENTS_PUSH is null");
            return (Criteria) this;
        }

        public Criteria andCommentsPushIsNotNull() {
            addCriterion("COMMENTS_PUSH is not null");
            return (Criteria) this;
        }

        public Criteria andCommentsPushEqualTo(String value) {
            addCriterion("COMMENTS_PUSH =", value, "commentsPush");
            return (Criteria) this;
        }

        public Criteria andCommentsPushNotEqualTo(String value) {
            addCriterion("COMMENTS_PUSH <>", value, "commentsPush");
            return (Criteria) this;
        }

        public Criteria andCommentsPushGreaterThan(String value) {
            addCriterion("COMMENTS_PUSH >", value, "commentsPush");
            return (Criteria) this;
        }

        public Criteria andCommentsPushGreaterThanOrEqualTo(String value) {
            addCriterion("COMMENTS_PUSH >=", value, "commentsPush");
            return (Criteria) this;
        }

        public Criteria andCommentsPushLessThan(String value) {
            addCriterion("COMMENTS_PUSH <", value, "commentsPush");
            return (Criteria) this;
        }

        public Criteria andCommentsPushLessThanOrEqualTo(String value) {
            addCriterion("COMMENTS_PUSH <=", value, "commentsPush");
            return (Criteria) this;
        }

        public Criteria andCommentsPushLike(String value) {
            addCriterion("COMMENTS_PUSH like", value, "commentsPush");
            return (Criteria) this;
        }

        public Criteria andCommentsPushNotLike(String value) {
            addCriterion("COMMENTS_PUSH not like", value, "commentsPush");
            return (Criteria) this;
        }

        public Criteria andCommentsPushIn(List<String> values) {
            addCriterion("COMMENTS_PUSH in", values, "commentsPush");
            return (Criteria) this;
        }

        public Criteria andCommentsPushNotIn(List<String> values) {
            addCriterion("COMMENTS_PUSH not in", values, "commentsPush");
            return (Criteria) this;
        }

        public Criteria andCommentsPushBetween(String value1, String value2) {
            addCriterion("COMMENTS_PUSH between", value1, value2, "commentsPush");
            return (Criteria) this;
        }

        public Criteria andCommentsPushNotBetween(String value1, String value2) {
            addCriterion("COMMENTS_PUSH not between", value1, value2, "commentsPush");
            return (Criteria) this;
        }

        public Criteria andKgStautsIsNull() {
            addCriterion("KG_STAUTS is null");
            return (Criteria) this;
        }

        public Criteria andKgStautsIsNotNull() {
            addCriterion("KG_STAUTS is not null");
            return (Criteria) this;
        }

        public Criteria andKgStautsEqualTo(Integer value) {
            addCriterion("KG_STAUTS =", value, "kgStauts");
            return (Criteria) this;
        }

        public Criteria andKgStautsNotEqualTo(Integer value) {
            addCriterion("KG_STAUTS <>", value, "kgStauts");
            return (Criteria) this;
        }

        public Criteria andKgStautsGreaterThan(Integer value) {
            addCriterion("KG_STAUTS >", value, "kgStauts");
            return (Criteria) this;
        }

        public Criteria andKgStautsGreaterThanOrEqualTo(Integer value) {
            addCriterion("KG_STAUTS >=", value, "kgStauts");
            return (Criteria) this;
        }

        public Criteria andKgStautsLessThan(Integer value) {
            addCriterion("KG_STAUTS <", value, "kgStauts");
            return (Criteria) this;
        }

        public Criteria andKgStautsLessThanOrEqualTo(Integer value) {
            addCriterion("KG_STAUTS <=", value, "kgStauts");
            return (Criteria) this;
        }

        public Criteria andKgStautsIn(List<Integer> values) {
            addCriterion("KG_STAUTS in", values, "kgStauts");
            return (Criteria) this;
        }

        public Criteria andKgStautsNotIn(List<Integer> values) {
            addCriterion("KG_STAUTS not in", values, "kgStauts");
            return (Criteria) this;
        }

        public Criteria andKgStautsBetween(Integer value1, Integer value2) {
            addCriterion("KG_STAUTS between", value1, value2, "kgStauts");
            return (Criteria) this;
        }

        public Criteria andKgStautsNotBetween(Integer value1, Integer value2) {
            addCriterion("KG_STAUTS not between", value1, value2, "kgStauts");
            return (Criteria) this;
        }

        public Criteria andKgIsNull() {
            addCriterion("KG is null");
            return (Criteria) this;
        }

        public Criteria andKgIsNotNull() {
            addCriterion("KG is not null");
            return (Criteria) this;
        }

        public Criteria andKgEqualTo(String value) {
            addCriterion("KG =", value, "kg");
            return (Criteria) this;
        }

        public Criteria andKgNotEqualTo(String value) {
            addCriterion("KG <>", value, "kg");
            return (Criteria) this;
        }

        public Criteria andKgGreaterThan(String value) {
            addCriterion("KG >", value, "kg");
            return (Criteria) this;
        }

        public Criteria andKgGreaterThanOrEqualTo(String value) {
            addCriterion("KG >=", value, "kg");
            return (Criteria) this;
        }

        public Criteria andKgLessThan(String value) {
            addCriterion("KG <", value, "kg");
            return (Criteria) this;
        }

        public Criteria andKgLessThanOrEqualTo(String value) {
            addCriterion("KG <=", value, "kg");
            return (Criteria) this;
        }

        public Criteria andKgLike(String value) {
            addCriterion("KG like", value, "kg");
            return (Criteria) this;
        }

        public Criteria andKgNotLike(String value) {
            addCriterion("KG not like", value, "kg");
            return (Criteria) this;
        }

        public Criteria andKgIn(List<String> values) {
            addCriterion("KG in", values, "kg");
            return (Criteria) this;
        }

        public Criteria andKgNotIn(List<String> values) {
            addCriterion("KG not in", values, "kg");
            return (Criteria) this;
        }

        public Criteria andKgBetween(String value1, String value2) {
            addCriterion("KG between", value1, value2, "kg");
            return (Criteria) this;
        }

        public Criteria andKgNotBetween(String value1, String value2) {
            addCriterion("KG not between", value1, value2, "kg");
            return (Criteria) this;
        }

        public Criteria andKgRdateIsNull() {
            addCriterion("KG_RDATE is null");
            return (Criteria) this;
        }

        public Criteria andKgRdateIsNotNull() {
            addCriterion("KG_RDATE is not null");
            return (Criteria) this;
        }

        public Criteria andKgRdateEqualTo(Date value) {
            addCriterion("KG_RDATE =", value, "kgRdate");
            return (Criteria) this;
        }

        public Criteria andKgRdateNotEqualTo(Date value) {
            addCriterion("KG_RDATE <>", value, "kgRdate");
            return (Criteria) this;
        }

        public Criteria andKgRdateGreaterThan(Date value) {
            addCriterion("KG_RDATE >", value, "kgRdate");
            return (Criteria) this;
        }

        public Criteria andKgRdateGreaterThanOrEqualTo(Date value) {
            addCriterion("KG_RDATE >=", value, "kgRdate");
            return (Criteria) this;
        }

        public Criteria andKgRdateLessThan(Date value) {
            addCriterion("KG_RDATE <", value, "kgRdate");
            return (Criteria) this;
        }

        public Criteria andKgRdateLessThanOrEqualTo(Date value) {
            addCriterion("KG_RDATE <=", value, "kgRdate");
            return (Criteria) this;
        }

        public Criteria andKgRdateIn(List<Date> values) {
            addCriterion("KG_RDATE in", values, "kgRdate");
            return (Criteria) this;
        }

        public Criteria andKgRdateNotIn(List<Date> values) {
            addCriterion("KG_RDATE not in", values, "kgRdate");
            return (Criteria) this;
        }

        public Criteria andKgRdateBetween(Date value1, Date value2) {
            addCriterion("KG_RDATE between", value1, value2, "kgRdate");
            return (Criteria) this;
        }

        public Criteria andKgRdateNotBetween(Date value1, Date value2) {
            addCriterion("KG_RDATE not between", value1, value2, "kgRdate");
            return (Criteria) this;
        }

        public Criteria andKgCompleteDateIsNull() {
            addCriterion("KG_COMPLETE_DATE is null");
            return (Criteria) this;
        }

        public Criteria andKgCompleteDateIsNotNull() {
            addCriterion("KG_COMPLETE_DATE is not null");
            return (Criteria) this;
        }

        public Criteria andKgCompleteDateEqualTo(Date value) {
            addCriterion("KG_COMPLETE_DATE =", value, "kgCompleteDate");
            return (Criteria) this;
        }

        public Criteria andKgCompleteDateNotEqualTo(Date value) {
            addCriterion("KG_COMPLETE_DATE <>", value, "kgCompleteDate");
            return (Criteria) this;
        }

        public Criteria andKgCompleteDateGreaterThan(Date value) {
            addCriterion("KG_COMPLETE_DATE >", value, "kgCompleteDate");
            return (Criteria) this;
        }

        public Criteria andKgCompleteDateGreaterThanOrEqualTo(Date value) {
            addCriterion("KG_COMPLETE_DATE >=", value, "kgCompleteDate");
            return (Criteria) this;
        }

        public Criteria andKgCompleteDateLessThan(Date value) {
            addCriterion("KG_COMPLETE_DATE <", value, "kgCompleteDate");
            return (Criteria) this;
        }

        public Criteria andKgCompleteDateLessThanOrEqualTo(Date value) {
            addCriterion("KG_COMPLETE_DATE <=", value, "kgCompleteDate");
            return (Criteria) this;
        }

        public Criteria andKgCompleteDateIn(List<Date> values) {
            addCriterion("KG_COMPLETE_DATE in", values, "kgCompleteDate");
            return (Criteria) this;
        }

        public Criteria andKgCompleteDateNotIn(List<Date> values) {
            addCriterion("KG_COMPLETE_DATE not in", values, "kgCompleteDate");
            return (Criteria) this;
        }

        public Criteria andKgCompleteDateBetween(Date value1, Date value2) {
            addCriterion("KG_COMPLETE_DATE between", value1, value2, "kgCompleteDate");
            return (Criteria) this;
        }

        public Criteria andKgCompleteDateNotBetween(Date value1, Date value2) {
            addCriterion("KG_COMPLETE_DATE not between", value1, value2, "kgCompleteDate");
            return (Criteria) this;
        }

        public Criteria andKgTihuoPersonIsNull() {
            addCriterion("KG_TIHUO_PERSON is null");
            return (Criteria) this;
        }

        public Criteria andKgTihuoPersonIsNotNull() {
            addCriterion("KG_TIHUO_PERSON is not null");
            return (Criteria) this;
        }

        public Criteria andKgTihuoPersonEqualTo(String value) {
            addCriterion("KG_TIHUO_PERSON =", value, "kgTihuoPerson");
            return (Criteria) this;
        }

        public Criteria andKgTihuoPersonNotEqualTo(String value) {
            addCriterion("KG_TIHUO_PERSON <>", value, "kgTihuoPerson");
            return (Criteria) this;
        }

        public Criteria andKgTihuoPersonGreaterThan(String value) {
            addCriterion("KG_TIHUO_PERSON >", value, "kgTihuoPerson");
            return (Criteria) this;
        }

        public Criteria andKgTihuoPersonGreaterThanOrEqualTo(String value) {
            addCriterion("KG_TIHUO_PERSON >=", value, "kgTihuoPerson");
            return (Criteria) this;
        }

        public Criteria andKgTihuoPersonLessThan(String value) {
            addCriterion("KG_TIHUO_PERSON <", value, "kgTihuoPerson");
            return (Criteria) this;
        }

        public Criteria andKgTihuoPersonLessThanOrEqualTo(String value) {
            addCriterion("KG_TIHUO_PERSON <=", value, "kgTihuoPerson");
            return (Criteria) this;
        }

        public Criteria andKgTihuoPersonLike(String value) {
            addCriterion("KG_TIHUO_PERSON like", value, "kgTihuoPerson");
            return (Criteria) this;
        }

        public Criteria andKgTihuoPersonNotLike(String value) {
            addCriterion("KG_TIHUO_PERSON not like", value, "kgTihuoPerson");
            return (Criteria) this;
        }

        public Criteria andKgTihuoPersonIn(List<String> values) {
            addCriterion("KG_TIHUO_PERSON in", values, "kgTihuoPerson");
            return (Criteria) this;
        }

        public Criteria andKgTihuoPersonNotIn(List<String> values) {
            addCriterion("KG_TIHUO_PERSON not in", values, "kgTihuoPerson");
            return (Criteria) this;
        }

        public Criteria andKgTihuoPersonBetween(String value1, String value2) {
            addCriterion("KG_TIHUO_PERSON between", value1, value2, "kgTihuoPerson");
            return (Criteria) this;
        }

        public Criteria andKgTihuoPersonNotBetween(String value1, String value2) {
            addCriterion("KG_TIHUO_PERSON not between", value1, value2, "kgTihuoPerson");
            return (Criteria) this;
        }

        public Criteria andKgTihuoContentIsNull() {
            addCriterion("KG_TIHUO_CONTENT is null");
            return (Criteria) this;
        }

        public Criteria andKgTihuoContentIsNotNull() {
            addCriterion("KG_TIHUO_CONTENT is not null");
            return (Criteria) this;
        }

        public Criteria andKgTihuoContentEqualTo(String value) {
            addCriterion("KG_TIHUO_CONTENT =", value, "kgTihuoContent");
            return (Criteria) this;
        }

        public Criteria andKgTihuoContentNotEqualTo(String value) {
            addCriterion("KG_TIHUO_CONTENT <>", value, "kgTihuoContent");
            return (Criteria) this;
        }

        public Criteria andKgTihuoContentGreaterThan(String value) {
            addCriterion("KG_TIHUO_CONTENT >", value, "kgTihuoContent");
            return (Criteria) this;
        }

        public Criteria andKgTihuoContentGreaterThanOrEqualTo(String value) {
            addCriterion("KG_TIHUO_CONTENT >=", value, "kgTihuoContent");
            return (Criteria) this;
        }

        public Criteria andKgTihuoContentLessThan(String value) {
            addCriterion("KG_TIHUO_CONTENT <", value, "kgTihuoContent");
            return (Criteria) this;
        }

        public Criteria andKgTihuoContentLessThanOrEqualTo(String value) {
            addCriterion("KG_TIHUO_CONTENT <=", value, "kgTihuoContent");
            return (Criteria) this;
        }

        public Criteria andKgTihuoContentLike(String value) {
            addCriterion("KG_TIHUO_CONTENT like", value, "kgTihuoContent");
            return (Criteria) this;
        }

        public Criteria andKgTihuoContentNotLike(String value) {
            addCriterion("KG_TIHUO_CONTENT not like", value, "kgTihuoContent");
            return (Criteria) this;
        }

        public Criteria andKgTihuoContentIn(List<String> values) {
            addCriterion("KG_TIHUO_CONTENT in", values, "kgTihuoContent");
            return (Criteria) this;
        }

        public Criteria andKgTihuoContentNotIn(List<String> values) {
            addCriterion("KG_TIHUO_CONTENT not in", values, "kgTihuoContent");
            return (Criteria) this;
        }

        public Criteria andKgTihuoContentBetween(String value1, String value2) {
            addCriterion("KG_TIHUO_CONTENT between", value1, value2, "kgTihuoContent");
            return (Criteria) this;
        }

        public Criteria andKgTihuoContentNotBetween(String value1, String value2) {
            addCriterion("KG_TIHUO_CONTENT not between", value1, value2, "kgTihuoContent");
            return (Criteria) this;
        }

        public Criteria andDriverIsNull() {
            addCriterion("DRIVER is null");
            return (Criteria) this;
        }

        public Criteria andDriverIsNotNull() {
            addCriterion("DRIVER is not null");
            return (Criteria) this;
        }

        public Criteria andDriverEqualTo(String value) {
            addCriterion("DRIVER =", value, "driver");
            return (Criteria) this;
        }

        public Criteria andDriverNotEqualTo(String value) {
            addCriterion("DRIVER <>", value, "driver");
            return (Criteria) this;
        }

        public Criteria andDriverGreaterThan(String value) {
            addCriterion("DRIVER >", value, "driver");
            return (Criteria) this;
        }

        public Criteria andDriverGreaterThanOrEqualTo(String value) {
            addCriterion("DRIVER >=", value, "driver");
            return (Criteria) this;
        }

        public Criteria andDriverLessThan(String value) {
            addCriterion("DRIVER <", value, "driver");
            return (Criteria) this;
        }

        public Criteria andDriverLessThanOrEqualTo(String value) {
            addCriterion("DRIVER <=", value, "driver");
            return (Criteria) this;
        }

        public Criteria andDriverLike(String value) {
            addCriterion("DRIVER like", value, "driver");
            return (Criteria) this;
        }

        public Criteria andDriverNotLike(String value) {
            addCriterion("DRIVER not like", value, "driver");
            return (Criteria) this;
        }

        public Criteria andDriverIn(List<String> values) {
            addCriterion("DRIVER in", values, "driver");
            return (Criteria) this;
        }

        public Criteria andDriverNotIn(List<String> values) {
            addCriterion("DRIVER not in", values, "driver");
            return (Criteria) this;
        }

        public Criteria andDriverBetween(String value1, String value2) {
            addCriterion("DRIVER between", value1, value2, "driver");
            return (Criteria) this;
        }

        public Criteria andDriverNotBetween(String value1, String value2) {
            addCriterion("DRIVER not between", value1, value2, "driver");
            return (Criteria) this;
        }

        public Criteria andPlateIsNull() {
            addCriterion("PLATE is null");
            return (Criteria) this;
        }

        public Criteria andPlateIsNotNull() {
            addCriterion("PLATE is not null");
            return (Criteria) this;
        }

        public Criteria andPlateEqualTo(String value) {
            addCriterion("PLATE =", value, "plate");
            return (Criteria) this;
        }

        public Criteria andPlateNotEqualTo(String value) {
            addCriterion("PLATE <>", value, "plate");
            return (Criteria) this;
        }

        public Criteria andPlateGreaterThan(String value) {
            addCriterion("PLATE >", value, "plate");
            return (Criteria) this;
        }

        public Criteria andPlateGreaterThanOrEqualTo(String value) {
            addCriterion("PLATE >=", value, "plate");
            return (Criteria) this;
        }

        public Criteria andPlateLessThan(String value) {
            addCriterion("PLATE <", value, "plate");
            return (Criteria) this;
        }

        public Criteria andPlateLessThanOrEqualTo(String value) {
            addCriterion("PLATE <=", value, "plate");
            return (Criteria) this;
        }

        public Criteria andPlateLike(String value) {
            addCriterion("PLATE like", value, "plate");
            return (Criteria) this;
        }

        public Criteria andPlateNotLike(String value) {
            addCriterion("PLATE not like", value, "plate");
            return (Criteria) this;
        }

        public Criteria andPlateIn(List<String> values) {
            addCriterion("PLATE in", values, "plate");
            return (Criteria) this;
        }

        public Criteria andPlateNotIn(List<String> values) {
            addCriterion("PLATE not in", values, "plate");
            return (Criteria) this;
        }

        public Criteria andPlateBetween(String value1, String value2) {
            addCriterion("PLATE between", value1, value2, "plate");
            return (Criteria) this;
        }

        public Criteria andPlateNotBetween(String value1, String value2) {
            addCriterion("PLATE not between", value1, value2, "plate");
            return (Criteria) this;
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table BAS_SERVICE
     *
     * @mbg.generated do_not_delete_during_merge Wed Jul 12 08:41:20 CST 2017
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}